

using Dapper.Contrib.Extensions;

namespace Read.Models
{
    /// <summary>
    /// 权限类
    /// </summary>
    [Table (Tables.Access)]
    public class AccessModel
    {
        /// <summary>
        /// 角色Id
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// 节点Id
        /// </summary>
        public int NodeId { get; set; }

        /// <summary>
        /// 层级
        /// </summary>
        public int Level { get; set; }

        /// <summary>
        /// Pid
        /// </summary>
        public int Pid { get; set; }

        /// <summary>
        /// Module
        /// </summary>
        public string Module { get; set; }
    }
}